package Fanxiang;
 import static org.junit.Assert.assertEquals;

 import org.junit.Test;

  public class SplitStringTest {
	@Test
	public void testSplitNormal() {
		String testWord = "abc";
		String oriResWord = "ab";
		String testResWord = SplitString.spilt(testWord, 0, 2);
		assertEquals(oriResWord, testResWord);
	}

	@Test
	public void testSplitBlank() {
		String testWord = "";
		String oriResWord = "";
		String testResWord = SplitString.spilt(testWord, 0, 2);
		assertEquals(oriResWord, testResWord);
	}
}
